<%-- 
    Document   : interestsTag
    Created on : 2012-10-29, 16:13:14
    Author     : cgqhs
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html lang="zh-CN">
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <title>WeiResearch.com</title>
        <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/>

        <link rel="stylesheet" href="styles/bootstrap.css"/>
        <link rel="stylesheet" href="styles/interestsTag.css"/>

        <script type="text/javascript" src="js/jquery.min.js"></script>
    </head>
    <body>

        <div class="container weire-taobao-width">
            <div class="pull-right position-ajust">
                <form class="form-search" method="GET" action="interests.action">
                    <input type="text" name="sinaUid" class="input-medium search-query">
                    <button type="submit" class="btn">对比</button>
                    <span class="help-block">请输入分析sinaUid</span>
                </form>
            </div>
            
            <blockquote>
                <p><strong><s:property value="name" /></strong>&nbsp;&nbsp;<s:property value="age" />&nbsp;&nbsp;<s:property value="livingPlace" /></p>
                <small>收入水平<s:property value="incomeRange" />&nbsp;<cite title="<s:property value="lotteryRate" />%抽奖贴"><s:property value="lottery" /></cite></small>
            </blockquote>
            <dl class="dl-horizontal">
                <div>
                <dt>关键词</dt>
                <dd><s:iterator value="%{keywords}" id="words"  status="S0"><s:property value="word"/>(<s:property value="#words.mention"/>)<s:iterator value="#request.keywords.get(#S0.index).getEmotionClass()" id="emo"><i class="<s:property value="#emo"/>"></i></s:iterator>  </s:iterator></dd>
                </div>
                <div>
                <dt>活跃时间</dt>
                <dd><s:iterator value="%{activeTime}" id="active"><s:property value="#active"/></s:iterator></dd>
                </div>
                <div>
                <dt>分类</dt>
                <dd><s:iterator value="%{category}" id="cate"><s:property value="cate"/></s:iterator></dd>
                </div>
                <div>
                <dt>经常@</dt>
                <dd><s:iterator value="%{toAt}" id="at"><s:property value="at"/></s:iterator></dd>
                </div>
            </dl>
            <div class="accordion" id="accordion2">
                <s:iterator value="%{adsURL}" id="ads" status="S">
                    <div class="accordion-group">
                        <div class="accordion-heading">
                            <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapse<s:property value="#S.index"/>">
                                来自<s:property value="#ads.keyword"/>
                            </a>
                        </div>
                                <div id="collapse<s:property value="#S.index"/>" class="accordion-body collapse <s:if test=" #S.index == 0 ">in</s:if>">
                            <div class="accordion-inner">
                                <iframe scrolling="no" frameborder="0" border="0" marginwidth="0" marginheight="0" style="width: 965px; height: 3000px;" src="<s:property value="#ads.content"/>"></iframe>
                            </div>
                        </div>
                    </div>
                </s:iterator>
            </div>
        </div>

        <!--footer-->
        <div class="WR_footer">
            <div class="copyright">
                <span class="S_textb">©2012 WeiResearch.com</span>
                <em class="WR_vline S_textb">|</em>
                <a href="#" class="S_linka">微瑞监测(WeiResearch Monitorring)首页</a>
                <em class="WR_vline S_textb">|</em>
                <a href="#" class="S_linka">服务条款</a>
                <em class="WR_vline S_textb">|</em>
                <a href="#" class="S_linka">隐私权政策</a>
                <em class="WR_vline S_textb">|</em>
                <a href="#" class="S_linka">与我们联系</a>
                <em class="WR_vline S_textb">|</em>
                <a href="#" class="S_linka">发送反馈</a>
            </div>
        </div>
        <!--/footer-->
        
        <!--<script type="text/javascript">
            alimama_pid="mm_33132458_3409344_10998891";
            alimama_width=950;
            alimama_height=90;
        </script>
        <script src="http://a.alimama.cn/inf.js" type="text/javascript"></script>-->
        <script src="js/bootstrap-collapse.js"></script>
    </body>
</html>
